﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace MyBlog.DataEntity
{
   public class Tbl_Words
    {
        public Tbl_Words()
        {
            Tbl_WordComment = new HashSet<Tbl_WordComment>();
        }
        public int ID { set; get; }

        public string Content { set; get; }

        public DateTime CreateTime { set; get; }

        public string UserID { set; get; }

        public string AgreeUsers { set; get; }

        [ForeignKey("UserID")]
        public virtual Tbl_Account Tbl_Account { get; set; }

        public virtual ICollection<Tbl_WordComment> Tbl_WordComment { get; set; }
    }
}
